Optimal. Leaf size=261 \[ \frac {594851 \sqrt {2+5 x+3 x^2}}{112612500 (3+2 x)^{3/2}}+\frac {335723 \sqrt {2+5 x+3 x^2}}{80437500 \sqrt {3+2 x}}-\frac {(386846+328339 x) \sqrt {2+5 x+3 x^2}}{7507500 (3+2 x)^{7/2}}-\frac {(8901+8399 x) \left (2+5 x+3 x^2\right )^{3/2}}{64350 (3+2 x)^{11/2}}+\frac {(94+119 x) \left (2+5 x+3 x^2\right )^{5/2}}{195 (3+2 x)^{15/2}}-\frac {335723 \sqrt {-2-5 x-3 x^2} E\left (\sin ^{-1}\left (\sqrt {3} \sqrt {1+x}\right )|-\frac {2}{3}\right )}{53625000 \sqrt {3} \sqrt {2+5 x+3 x^2}}+\frac {594851 \sqrt {-2-5 x-3 x^2} F\left (\sin ^{-1}\left (\sqrt {3} \sqrt {1+x}\right )|-\frac {2}{3}\right )}{75075000 \sqrt {3} \sqrt {2+5 x+3 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 261, normalized size of antiderivative = 1.00, number of steps
used = 10, number of rules used = 6, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.207, Rules used = {824, 848, 857,
732, 435, 430} \begin {gather*} \frac {594851 \sqrt {-3 x^2-5 x-2} F\left (\text {ArcSin}\left (\sqrt {3} \sqrt {x+1}\right )|-\frac {2}{3}\right )}{75075000 \sqrt {3} \sqrt {3 x^2+5 x+2}}-\frac {335723 \sqrt {-3 x^2-5 x-2} E\left (\text {ArcSin}\left (\sqrt {3} \sqrt {x+1}\right )|-\frac {2}{3}\right )}{53625000 \sqrt {3} \sqrt {3 x^2+5 x+2}}+\frac {(119 x+94) \left (3 x^2+5 x+2\right )^{5/2}}{195 (2 x+3)^{15/2}}-\frac {(8399 x+8901) \left (3 x^2+5 x+2\right )^{3/2}}{64350 (2 x+3)^{11/2}}-\frac {(328339 x+386846) \sqrt {3 x^2+5 x+2}}{7507500 (2 x+3)^{7/2}}+\frac {335723 \sqrt {3 x^2+5 x+2}}{80437500 \sqrt {2 x+3}}+\frac {594851 \sqrt {3 x^2+5 x+2}}{112612500 (2 x+3)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 430
Rule 435
Rule 732
Rule 824
Rule 848
Rule 857
Rubi steps
\begin {align*} \int \frac {(5-x) \left (2+5 x+3 x^2\right )^{5/2}}{(3+2 x)^{17/2}} \, dx &=\frac {(94+119 x) \left (2+5 x+3 x^2\right )^{5/2}}{195 (3+2 x)^{15/2}}-\frac {1}{390} \int \frac {(-118-243 x) \left (2+5 x+3 x^2\right )^{3/2}}{(3+2 x)^{13/2}} \, dx\\ &=-\frac {(8901+8399 x) \left (2+5 x+3 x^2\right )^{3/2}}{64350 (3+2 x)^{11/2}}+\frac {(94+119 x) \left (2+5 x+3 x^2\right )^{5/2}}{195 (3+2 x)^{15/2}}+\frac {\int \frac {(20841+22347 x) \sqrt {2+5 x+3 x^2}}{(3+2 x)^{9/2}} \, dx}{128700}\\ &=-\frac {(386846+328339 x) \sqrt {2+5 x+3 x^2}}{7507500 (3+2 x)^{7/2}}-\frac {(8901+8399 x) \left (2+5 x+3 x^2\right )^{3/2}}{64350 (3+2 x)^{11/2}}+\frac {(94+119 x) \left (2+5 x+3 x^2\right )^{5/2}}{195 (3+2 x)^{15/2}}-\frac {\int \frac {-1257990-1433511 x}{(3+2 x)^{5/2} \sqrt {2+5 x+3 x^2}} \, dx}{45045000}\\ &=\frac {594851 \sqrt {2+5 x+3 x^2}}{112612500 (3+2 x)^{3/2}}-\frac {(386846+328339 x) \sqrt {2+5 x+3 x^2}}{7507500 (3+2 x)^{7/2}}-\frac {(8901+8399 x) \left (2+5 x+3 x^2\right )^{3/2}}{64350 (3+2 x)^{11/2}}+\frac {(94+119 x) \left (2+5 x+3 x^2\right )^{5/2}}{195 (3+2 x)^{15/2}}+\frac {\int \frac {\frac {4505397}{2}+\frac {5353659 x}{2}}{(3+2 x)^{3/2} \sqrt {2+5 x+3 x^2}} \, dx}{337837500}\\ &=\frac {594851 \sqrt {2+5 x+3 x^2}}{112612500 (3+2 x)^{3/2}}+\frac {335723 \sqrt {2+5 x+3 x^2}}{80437500 \sqrt {3+2 x}}-\frac {(386846+328339 x) \sqrt {2+5 x+3 x^2}}{7507500 (3+2 x)^{7/2}}-\frac {(8901+8399 x) \left (2+5 x+3 x^2\right )^{3/2}}{64350 (3+2 x)^{11/2}}+\frac {(94+119 x) \left (2+5 x+3 x^2\right )^{5/2}}{195 (3+2 x)^{15/2}}-\frac {\int \frac {4585419+\frac {21150549 x}{4}}{\sqrt {3+2 x} \sqrt {2+5 x+3 x^2}} \, dx}{844593750}\\ &=\frac {594851 \sqrt {2+5 x+3 x^2}}{112612500 (3+2 x)^{3/2}}+\frac {335723 \sqrt {2+5 x+3 x^2}}{80437500 \sqrt {3+2 x}}-\frac {(386846+328339 x) \sqrt {2+5 x+3 x^2}}{7507500 (3+2 x)^{7/2}}-\frac {(8901+8399 x) \left (2+5 x+3 x^2\right )^{3/2}}{64350 (3+2 x)^{11/2}}+\frac {(94+119 x) \left (2+5 x+3 x^2\right )^{5/2}}{195 (3+2 x)^{15/2}}-\frac {335723 \int \frac {\sqrt {3+2 x}}{\sqrt {2+5 x+3 x^2}} \, dx}{107250000}+\frac {594851 \int \frac {1}{\sqrt {3+2 x} \sqrt {2+5 x+3 x^2}} \, dx}{150150000}\\ &=\frac {594851 \sqrt {2+5 x+3 x^2}}{112612500 (3+2 x)^{3/2}}+\frac {335723 \sqrt {2+5 x+3 x^2}}{80437500 \sqrt {3+2 x}}-\frac {(386846+328339 x) \sqrt {2+5 x+3 x^2}}{7507500 (3+2 x)^{7/2}}-\frac {(8901+8399 x) \left (2+5 x+3 x^2\right )^{3/2}}{64350 (3+2 x)^{11/2}}+\frac {(94+119 x) \left (2+5 x+3 x^2\right )^{5/2}}{195 (3+2 x)^{15/2}}-\frac {\left (335723 \sqrt {-2-5 x-3 x^2}\right ) \text {Subst}\left (\int \frac {\sqrt {1+\frac {2 x^2}{3}}}{\sqrt {1-x^2}} \, dx,x,\frac {\sqrt {6+6 x}}{\sqrt {2}}\right )}{53625000 \sqrt {3} \sqrt {2+5 x+3 x^2}}+\frac {\left (594851 \sqrt {-2-5 x-3 x^2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \sqrt {1+\frac {2 x^2}{3}}} \, dx,x,\frac {\sqrt {6+6 x}}{\sqrt {2}}\right )}{75075000 \sqrt {3} \sqrt {2+5 x+3 x^2}}\\ &=\frac {594851 \sqrt {2+5 x+3 x^2}}{112612500 (3+2 x)^{3/2}}+\frac {335723 \sqrt {2+5 x+3 x^2}}{80437500 \sqrt {3+2 x}}-\frac {(386846+328339 x) \sqrt {2+5 x+3 x^2}}{7507500 (3+2 x)^{7/2}}-\frac {(8901+8399 x) \left (2+5 x+3 x^2\right )^{3/2}}{64350 (3+2 x)^{11/2}}+\frac {(94+119 x) \left (2+5 x+3 x^2\right )^{5/2}}{195 (3+2 x)^{15/2}}-\frac {335723 \sqrt {-2-5 x-3 x^2} E\left (\sin ^{-1}\left (\sqrt {3} \sqrt {1+x}\right )|-\frac {2}{3}\right )}{53625000 \sqrt {3} \sqrt {2+5 x+3 x^2}}+\frac {594851 \sqrt {-2-5 x-3 x^2} F\left (\sin ^{-1}\left (\sqrt {3} \sqrt {1+x}\right )|-\frac {2}{3}\right )}{75075000 \sqrt {3} \sqrt {2+5 x+3 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 20.51, size = 237, normalized size = 0.91 \begin {gather*} -\frac {-8 \left (2+5 x+3 x^2\right ) \left (4641518352+24502214271 x+55283449932 x^2+67557035830 x^3+46830142120 x^4+17742950508 x^5+3348834304 x^6+300807808 x^7\right )+2 (3+2 x)^7 \left (9400244 \left (2+5 x+3 x^2\right )+4700122 \sqrt {5} \sqrt {\frac {1+x}{3+2 x}} (3+2 x)^{3/2} \sqrt {\frac {2+3 x}{3+2 x}} E\left (\sin ^{-1}\left (\frac {\sqrt {\frac {5}{3}}}{\sqrt {3+2 x}}\right )|\frac {3}{5}\right )-1131016 \sqrt {5} \sqrt {\frac {1+x}{3+2 x}} (3+2 x)^{3/2} \sqrt {\frac {2+3 x}{3+2 x}} F\left (\sin ^{-1}\left (\frac {\sqrt {\frac {5}{3}}}{\sqrt {3+2 x}}\right )|\frac {3}{5}\right )\right )}{4504500000 (3+2 x)^{15/2} \sqrt {2+5 x+3 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(760\) vs.
\(2(211)=422\).
time = 0.10, size = 761, normalized size = 2.92
method | result | size |
elliptic | \(\frac {\sqrt {\left (3+2 x \right ) \left (3 x^{2}+5 x +2\right )}\, \left (-\frac {65 \sqrt {6 x^{3}+19 x^{2}+19 x +6}}{24576 \left (x +\frac {3}{2}\right )^{8}}+\frac {3299 \sqrt {6 x^{3}+19 x^{2}+19 x +6}}{159744 \left (x +\frac {3}{2}\right )^{7}}-\frac {11439 \sqrt {6 x^{3}+19 x^{2}+19 x +6}}{183040 \left (x +\frac {3}{2}\right )^{6}}+\frac {149093 \sqrt {6 x^{3}+19 x^{2}+19 x +6}}{1647360 \left (x +\frac {3}{2}\right )^{5}}-\frac {636491 \sqrt {6 x^{3}+19 x^{2}+19 x +6}}{10483200 \left (x +\frac {3}{2}\right )^{4}}+\frac {6055369 \sqrt {6 x^{3}+19 x^{2}+19 x +6}}{480480000 \left (x +\frac {3}{2}\right )^{3}}+\frac {594851 \sqrt {6 x^{3}+19 x^{2}+19 x +6}}{450450000 \left (x +\frac {3}{2}\right )^{2}}+\frac {\frac {335723}{26812500} x^{2}+\frac {335723}{16087500} x +\frac {335723}{40218750}}{\sqrt {\left (x +\frac {3}{2}\right ) \left (6 x^{2}+10 x +4\right )}}-\frac {509491 \sqrt {45+30 x}\, \sqrt {-2-2 x}\, \sqrt {-20-30 x}\, \EllipticF \left (\frac {\sqrt {45+30 x}}{5}, \frac {\sqrt {15}}{3}\right )}{1407656250 \sqrt {6 x^{3}+19 x^{2}+19 x +6}}-\frac {335723 \sqrt {45+30 x}\, \sqrt {-2-2 x}\, \sqrt {-20-30 x}\, \left (-\frac {\EllipticE \left (\frac {\sqrt {45+30 x}}{5}, \frac {\sqrt {15}}{3}\right )}{2}-\EllipticF \left (\frac {\sqrt {45+30 x}}{5}, \frac {\sqrt {15}}{3}\right )\right )}{804375000 \sqrt {6 x^{3}+19 x^{2}+19 x +6}}\right )}{\sqrt {3+2 x}\, \sqrt {3 x^{2}+5 x +2}}\) | \(366\) |
default | \(\frac {185660734080+1444240406040 x +9437813280 \sqrt {15}\, \EllipticF \left (\frac {\sqrt {45+30 x}}{5}, \frac {\sqrt {15}}{3}\right ) x^{4} \sqrt {3+2 x}\, \sqrt {-2-2 x}\, \sqrt {-20-30 x}+79896832 \sqrt {15}\, \EllipticF \left (\frac {\sqrt {45+30 x}}{5}, \frac {\sqrt {15}}{3}\right ) x^{7} \sqrt {3+2 x}\, \sqrt {-2-2 x}\, \sqrt {-20-30 x}+300807808 \sqrt {15}\, \EllipticE \left (\frac {\sqrt {45+30 x}}{5}, \frac {\sqrt {15}}{3}\right ) x^{7} \sqrt {3+2 x}\, \sqrt {-2-2 x}\, \sqrt {-20-30 x}+3158481984 \sqrt {15}\, \EllipticE \left (\frac {\sqrt {45+30 x}}{5}, \frac {\sqrt {15}}{3}\right ) x^{6} \sqrt {3+2 x}\, \sqrt {-2-2 x}\, \sqrt {-20-30 x}+838916736 \sqrt {15}\, \EllipticF \left (\frac {\sqrt {45+30 x}}{5}, \frac {\sqrt {15}}{3}\right ) x^{6} \sqrt {3+2 x}\, \sqrt {-2-2 x}\, \sqrt {-20-30 x}+14213168928 \sqrt {15}\, \EllipticE \left (\frac {\sqrt {45+30 x}}{5}, \frac {\sqrt {15}}{3}\right ) x^{5} \sqrt {3+2 x}\, \sqrt {-2-2 x}\, \sqrt {-20-30 x}+3775125312 \sqrt {15}\, \EllipticF \left (\frac {\sqrt {45+30 x}}{5}, \frac {\sqrt {15}}{3}\right ) x^{5} \sqrt {3+2 x}\, \sqrt {-2-2 x}\, \sqrt {-20-30 x}+35532922320 \sqrt {15}\, \EllipticE \left (\frac {\sqrt {45+30 x}}{5}, \frac {\sqrt {15}}{3}\right ) x^{4} \sqrt {3+2 x}\, \sqrt {-2-2 x}\, \sqrt {-20-30 x}+14156719920 \sqrt {15}\, \EllipticF \left (\frac {\sqrt {45+30 x}}{5}, \frac {\sqrt {15}}{3}\right ) x^{3} \sqrt {-2-2 x}\, \sqrt {-20-30 x}\, \sqrt {3+2 x}+53299383480 \sqrt {15}\, \EllipticE \left (\frac {\sqrt {45+30 x}}{5}, \frac {\sqrt {15}}{3}\right ) x^{3} \sqrt {-2-2 x}\, \sqrt {-20-30 x}\, \sqrt {3+2 x}+12741047928 \sqrt {15}\, \EllipticF \left (\frac {\sqrt {45+30 x}}{5}, \frac {\sqrt {15}}{3}\right ) x^{2} \sqrt {3+2 x}\, \sqrt {-2-2 x}\, \sqrt {-20-30 x}+47969445132 \sqrt {15}\, \EllipticE \left (\frac {\sqrt {45+30 x}}{5}, \frac {\sqrt {15}}{3}\right ) x^{2} \sqrt {3+2 x}\, \sqrt {-2-2 x}\, \sqrt {-20-30 x}+6370523964 \sqrt {15}\, \EllipticF \left (\frac {\sqrt {45+30 x}}{5}, \frac {\sqrt {15}}{3}\right ) x \sqrt {-20-30 x}\, \sqrt {3+2 x}\, \sqrt {-2-2 x}+23984722566 \sqrt {15}\, \EllipticE \left (\frac {\sqrt {45+30 x}}{5}, \frac {\sqrt {15}}{3}\right ) x \sqrt {-20-30 x}\, \sqrt {3+2 x}\, \sqrt {-2-2 x}+4940050525500 x^{2}+9446154382120 x^{5}+4718056950160 x^{6}+1411492773200 x^{7}+11945916263720 x^{4}+9700759282660 x^{3}+231010839040 x^{8}+18048468480 x^{9}+1365112278 \sqrt {15}\, \sqrt {3+2 x}\, \sqrt {-2-2 x}\, \sqrt {-20-30 x}\, \EllipticF \left (\frac {\sqrt {45+30 x}}{5}, \frac {\sqrt {15}}{3}\right )+5139583407 \sqrt {15}\, \sqrt {3+2 x}\, \sqrt {-2-2 x}\, \sqrt {-20-30 x}\, \EllipticE \left (\frac {\sqrt {45+30 x}}{5}, \frac {\sqrt {15}}{3}\right )}{11261250000 \sqrt {3 x^{2}+5 x +2}\, \left (3+2 x \right )^{\frac {15}{2}}}\) | \(761\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.91, size = 206, normalized size = 0.79 \begin {gather*} \frac {7967807 \, \sqrt {6} {\left (256 \, x^{8} + 3072 \, x^{7} + 16128 \, x^{6} + 48384 \, x^{5} + 90720 \, x^{4} + 108864 \, x^{3} + 81648 \, x^{2} + 34992 \, x + 6561\right )} {\rm weierstrassPInverse}\left (\frac {19}{27}, -\frac {28}{729}, x + \frac {19}{18}\right ) + 42301098 \, \sqrt {6} {\left (256 \, x^{8} + 3072 \, x^{7} + 16128 \, x^{6} + 48384 \, x^{5} + 90720 \, x^{4} + 108864 \, x^{3} + 81648 \, x^{2} + 34992 \, x + 6561\right )} {\rm weierstrassZeta}\left (\frac {19}{27}, -\frac {28}{729}, {\rm weierstrassPInverse}\left (\frac {19}{27}, -\frac {28}{729}, x + \frac {19}{18}\right )\right ) + 36 \, {\left (300807808 \, x^{7} + 3348834304 \, x^{6} + 17742950508 \, x^{5} + 46830142120 \, x^{4} + 67557035830 \, x^{3} + 55283449932 \, x^{2} + 24502214271 \, x + 4641518352\right )} \sqrt {3 \, x^{2} + 5 \, x + 2} \sqrt {2 \, x + 3}}{20270250000 \, {\left (256 \, x^{8} + 3072 \, x^{7} + 16128 \, x^{6} + 48384 \, x^{5} + 90720 \, x^{4} + 108864 \, x^{3} + 81648 \, x^{2} + 34992 \, x + 6561\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} -\int \frac {\left (x-5\right )\,{\left (3\,x^2+5\,x+2\right )}^{5/2}}{{\left (2\,x+3\right )}^{17/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________